<!--
  @author yangjiangming
  @date 2018-12-10 20:25:12
-->
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html th:fragment="layout (hasDetail, title, content, script)" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<head>
    <th:block th:replace="common/common :: jscss"/>
    <th:block th:replace="${title}"></th:block>
</head>
<body>
<div class="layui-fluid order-modify-page">
    <div class="layui-card">
        <div class="layui-card-body">
            <div th:replace="comment/modify/common/common :: header"></div>

            <div th:replace="comment/modify/common/common :: divider"></div>

            <th:block th:replace="${content}"></th:block>

        </div>
    </div>
</div>

<div class="layui-fluid" style="padding-top: 0px" th:if="${hasDetail}">
    <div class="layui-card">
        <div class="layui-card-body">
            <th:block th:text="${#request.getRequestDispatcher('/work/detail.action').include(#request, #response)}"/>
        </div>
    </div>
</div>

<script th:replace="${script}">
</script>

<script th:inline="javascript">
    var defaultModels =  {
        // list_modify_common: "work/modify/common/zmn.list.modify.common"
    };

    var models = Object.assign({}, defaultModels, layuiModel);
    var modelNameArray = Object.keys(models);

    layui.config({
        base: "/static/js/module/",
        version: 20221013001
    }).extend(models).use(modelNameArray);
</script>

</body>
</html>